.yg-index {
  .yg-index-nav {
    .index-nav {
      background-color: var(--themeColor);
      color: white;
    }
  }

  .yg-index-swiper {
    height: 4.533333rem;

    img {
      height: 4.533333rem;
      width: 100%;
    }
  }

  .yg-index-catitems {
    .catitems-item {
      img {
        height: 100%;
        width: 100%;
      }
    }
  }

  .yg-index-productData {
    .productData-item {
      .product-title {
        margin-top: 0.133333rem;

        img {
          height: 0.8rem;
        }
      }

      .product-image-list {
        overflow: hidden;

        .image-list-item {
          float: left;

          &:nth-child(1) {
            margin-left: 0.213333rem;
            height: 5.146667rem;
            width: 3.093333rem;
          }

          &:nth-child(2),
          &:nth-child(4) {
            margin-left: 0.2rem;
            height: 2.506667rem;
            width: 3.1rem;
          }


          &:nth-child(3),
          &:nth-child(5) {
            margin-left: 0.2rem;

            height: 2.506667rem;
            width: 2.96rem;
          }

          &:nth-child(3),
          &:nth-child(2) {
            margin-bottom: 0.133333rem;
          }

          img {
            width: 100%;
            height: 100%;
          }
        }
      }
    }
  }
}
